package com.vf.cloud.rendering.api.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.vf.cloud.rendering.api.service.IDownloadClient;

@RestController
public class DownloadClient {
	
	
	@Autowired
	private IDownloadClient iDownloadClient;
	

	@RequestMapping("/downloadFile")
	public String downloadFile(@RequestParam(name = "sceneId") String sceneId) throws Exception {
		iDownloadClient.download(sceneId);
		return "成功";
	}

	
}